Skip to content

CMakeLists improvements#162

Open
wmamrak wants to merge 3 commits into
rougier:masterfrom
wmamrak:master
Open

CMakeLists improvements#162
wmamrak wants to merge 3 commits into
rougier:masterfrom
wmamrak:master

Conversation

@wmamrak

@wmamrak wmamrak commented Apr 18, 2017

Copy link
Copy Markdown
Contributor

No description provided.

wmamrak added 3 commits April 18, 2017 15:16
When generating solution by multiple configure, then generate combo instead of single configure, generate combo or generate alone, _USE_MATH_DEFINES preprocessor definition is not populated.
Alternative solution is to add unset(HAVE_M_PI CACHE) in the else block just after add_definitions(-D_USE_MATH_DEFINES), but the proposed way avoids unnecessary checks each time the project is configured.
Comment thread CMakeLists.txt
@@ -32,6 +32,13 @@ option(freetype-gl_BUILD_HARFBUZZ "Build the freetype-gl harfbuzz support (exper
option(freetype-gl_BUILD_MAKEFONT "Build the makefont tool" ON)
option(freetype-gl_BUILD_TESTS "Build the tests" ON)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be OFF by default

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it could be. And installing ImageMagick should satisfy Jarvis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants